home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
Borland
/
Borland C++ V5.02
/
STDLIB.PAK
/
BITSET.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-05-06
|
219b
|
15 lines
#include <bitset>
#include <iostream.h>
using namespace std;
int main ()
{
bitset<8> b;
b |= 5;
#ifndef RWSTD_NO_NONTYPE_ARGS
cout << b << endl; // results in 00000101
#endif
return 0;
}